package com.DesignPatten.AbstractFactory;

/**
 * @ClassName Client
 * @Date 2021/4/27 21:07
 * @Author 李明杰
 * @Description TODO
 */

public class Client {
    public static void main(String[] args) {
        System.out.println("==================小米工厂===================");
        XiaomiFactory xiaomiFactory = new XiaomiFactory();

        xiaomiFactory.phone().call();
        xiaomiFactory.router().connect();
    }
}
